package com.swx.generate.bean;

import com.alibaba.fastjson.JSONObject;
import lombok.Data;

import java.util.List;

/**
 * @author ricky
 * @date 2021/8/25
 */
@Data
public class CategoryItem {
    private String name;
    private String description;
    private List<Path> paths;

    @Data
    public static class Path {
        private String url;
        private String method;
        private String summary;
        private String description;
        private List<String> consumes;
        private List<String> produces;
        private Boolean deprecated;
        //
        private JSONObject parameter;
        private JSONObject response;
    }
}
